﻿namespace net.zxteam.ZXLexer.Rules.Internal
{
	using System;
	using System.Diagnostics.Contracts;

	internal abstract class ContainerRuleBase : InnerRule, IContainerRule
	{
		private IInnerRule _innerRule;

		public ContainerRuleBase(IRule parentRule)
			: base(parentRule)
		{
		}

		public IInnerRule InnerRule
		{
			get
			{
				return _innerRule;
			}
			set
			{
				_innerRule = value;
			}
		}
	}
}
